import routerName from './routerName'
export interface IMenuData {
  path?: string
  title: string
  icon?: string
  submenu?: null | ISubMenuData
}

interface ISubMenuData {
  submenuTitle: string
  belong: string
  icon: string
  submenuItems: IMenuData[]
}

export const NORMAL_USER: IMenuData[] = [
  {
    path: '/upload',
    title: routerName['/upload'],
    icon: 'icon-shangchuan',
    submenu: null,
  },
  {
    path: '/dataSourceManage',
    title: routerName['/dataSourceManage'],
    icon: 'icon-28gongyegongcheng_shujuxinxi',
    submenu: null,
  },
  {
    path: '/hotKeyManage',
    title: routerName['/hotKeyManage'],
    icon: 'icon-resou',
    submenu: null,
  },
  {
    path: '/userManage',
    title: routerName['/userManage'],
    icon: 'icon-yonghuguanli',
    submenu: null,
  },
]
